package com.redwine.app.net.responses;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * 我的收藏采购bean
 * 作者：gassion on 17/9/5 16:03
 * 最可怕的敌人，就是没有坚强的信念。
 */
public class MyCollectionProcurementResponse extends BaseResponse {

    /**
     * data : {"data":[{"id":"41","product_id":"5","type":"2","uid":"6","status":"1","purchase_info":{"id":"5","title":"22222","num":"11111","price":"2222.00","city":"1","invoice":"1","anonymous":"1","content":"3333","pic":"https://t-app.baisouhj.com/image/hongjiu/201708/08/183015353093.png","uid":"8","date":"2017-08-26 17:03:25","status":"7"}},{"id":"42","product_id":"5","type":"2","uid":"6","status":"1","purchase_info":{"id":"5","title":"22222","num":"11111","price":"2222.00","city":"1","invoice":"1","anonymous":"1","content":"3333","pic":"https://t-app.baisouhj.com/image/hongjiu/201708/08/183015353093.png","uid":"8","date":"2017-08-26 17:03:25","status":"7"}},{"id":"43","product_id":"5","type":"2","uid":"6","status":"1","purchase_info":{"id":"5","title":"22222","num":"11111","price":"2222.00","city":"1","invoice":"1","anonymous":"1","content":"3333","pic":"https://t-app.baisouhj.com/image/hongjiu/201708/08/183015353093.png","uid":"8","date":"2017-08-26 17:03:25","status":"7"}},{"id":"44","product_id":"5","type":"2","uid":"6","status":"1","purchase_info":{"id":"5","title":"22222","num":"11111","price":"2222.00","city":"1","invoice":"1","anonymous":"1","content":"3333","pic":"https://t-app.baisouhj.com/image/hongjiu/201708/08/183015353093.png","uid":"8","date":"2017-08-26 17:03:25","status":"7"}},{"id":"45","product_id":"6","type":"2","uid":"6","status":"1","purchase_info":{"id":"6","title":"11231312","num":"1231231","price":"2222.00","city":"3","invoice":"1","anonymous":"1","content":"Asdqdada","pic":"https://t-app.baisouhj.com/image/hongjiu/201708/09/103858062977.png","uid":"8","date":"2017-08-09 10:38:58","status":"7"}},{"id":"46","product_id":"6","type":"2","uid":"6","status":"1","purchase_info":{"id":"6","title":"11231312","num":"1231231","price":"2222.00","city":"3","invoice":"1","anonymous":"1","content":"Asdqdada","pic":"https://t-app.baisouhj.com/image/hongjiu/201708/09/103858062977.png","uid":"8","date":"2017-08-09 10:38:58","status":"7"}},{"id":"54","product_id":"5","type":"2","uid":"6","status":"1","purchase_info":{"id":"5","title":"22222","num":"11111","price":"2222.00","city":"1","invoice":"1","anonymous":"1","content":"3333","pic":"https://t-app.baisouhj.com/image/hongjiu/201708/08/183015353093.png","uid":"8","date":"2017-08-26 17:03:25","status":"7"}}],"allpage":1,"page":1}
     */

    private DataEntityX data;

    public DataEntityX getData() {
        return data;
    }

    public void setData(DataEntityX data) {
        this.data = data;
    }

    public static class DataEntityX {
        /**
         * data : [{"id":"41","product_id":"5","type":"2","uid":"6","status":"1","purchase_info":{"id":"5","title":"22222","num":"11111","price":"2222.00","city":"1","invoice":"1","anonymous":"1","content":"3333","pic":"https://t-app.baisouhj.com/image/hongjiu/201708/08/183015353093.png","uid":"8","date":"2017-08-26 17:03:25","status":"7"}},{"id":"42","product_id":"5","type":"2","uid":"6","status":"1","purchase_info":{"id":"5","title":"22222","num":"11111","price":"2222.00","city":"1","invoice":"1","anonymous":"1","content":"3333","pic":"https://t-app.baisouhj.com/image/hongjiu/201708/08/183015353093.png","uid":"8","date":"2017-08-26 17:03:25","status":"7"}},{"id":"43","product_id":"5","type":"2","uid":"6","status":"1","purchase_info":{"id":"5","title":"22222","num":"11111","price":"2222.00","city":"1","invoice":"1","anonymous":"1","content":"3333","pic":"https://t-app.baisouhj.com/image/hongjiu/201708/08/183015353093.png","uid":"8","date":"2017-08-26 17:03:25","status":"7"}},{"id":"44","product_id":"5","type":"2","uid":"6","status":"1","purchase_info":{"id":"5","title":"22222","num":"11111","price":"2222.00","city":"1","invoice":"1","anonymous":"1","content":"3333","pic":"https://t-app.baisouhj.com/image/hongjiu/201708/08/183015353093.png","uid":"8","date":"2017-08-26 17:03:25","status":"7"}},{"id":"45","product_id":"6","type":"2","uid":"6","status":"1","purchase_info":{"id":"6","title":"11231312","num":"1231231","price":"2222.00","city":"3","invoice":"1","anonymous":"1","content":"Asdqdada","pic":"https://t-app.baisouhj.com/image/hongjiu/201708/09/103858062977.png","uid":"8","date":"2017-08-09 10:38:58","status":"7"}},{"id":"46","product_id":"6","type":"2","uid":"6","status":"1","purchase_info":{"id":"6","title":"11231312","num":"1231231","price":"2222.00","city":"3","invoice":"1","anonymous":"1","content":"Asdqdada","pic":"https://t-app.baisouhj.com/image/hongjiu/201708/09/103858062977.png","uid":"8","date":"2017-08-09 10:38:58","status":"7"}},{"id":"54","product_id":"5","type":"2","uid":"6","status":"1","purchase_info":{"id":"5","title":"22222","num":"11111","price":"2222.00","city":"1","invoice":"1","anonymous":"1","content":"3333","pic":"https://t-app.baisouhj.com/image/hongjiu/201708/08/183015353093.png","uid":"8","date":"2017-08-26 17:03:25","status":"7"}}]
         * allpage : 1
         * page : 1
         */

        private int allpage;
        private int page;
        private List<DataEntity> data;

        public int getAllpage() {
            return allpage;
        }

        public void setAllpage(int allpage) {
            this.allpage = allpage;
        }

        public int getPage() {
            return page;
        }

        public void setPage(int page) {
            this.page = page;
        }

        public List<DataEntity> getData() {
            return data;
        }

        public void setData(List<DataEntity> data) {
            this.data = data;
        }

        public static class DataEntity {
            /**
             * id : 41
             * product_id : 5
             * type : 2
             * uid : 6
             * status : 1
             * purchase_info : {"id":"5","title":"22222","num":"11111","price":"2222.00","city":"1","invoice":"1","anonymous":"1","content":"3333","pic":"https://t-app.baisouhj.com/image/hongjiu/201708/08/183015353093.png","uid":"8","date":"2017-08-26 17:03:25","status":"7"}
             */

            private String id;
            private String product_id;
            private String type;
            private String uid;
            @SerializedName("status")
            private String statusX;
            private PurchaseInfoEntity purchase_info;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getProduct_id() {
                return product_id;
            }

            public void setProduct_id(String product_id) {
                this.product_id = product_id;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getUid() {
                return uid;
            }

            public void setUid(String uid) {
                this.uid = uid;
            }

            public String getStatusX() {
                return statusX;
            }

            public void setStatusX(String statusX) {
                this.statusX = statusX;
            }

            public PurchaseInfoEntity getPurchase_info() {
                return purchase_info;
            }

            public void setPurchase_info(PurchaseInfoEntity purchase_info) {
                this.purchase_info = purchase_info;
            }

            public static class PurchaseInfoEntity {
                /**
                 * id : 5
                 * title : 22222
                 * num : 11111
                 * price : 2222.00
                 * city : 1
                 * invoice : 1
                 * anonymous : 1
                 * content : 3333
                 * pic : https://t-app.baisouhj.com/image/hongjiu/201708/08/183015353093.png
                 * uid : 8
                 * date : 2017-08-26 17:03:25
                 * status : 7
                 */
                private String id;
                private String title;
                private String num;
                private String quote_count;
                private String price;
                private String city;
                private String invoice;
                private String anonymous;
                private String content;
                private String pic;
                private String uid;
                private String date;
                @SerializedName("status")
                private String statusX;

                public String getQuote_count() {
                    return quote_count;
                }

                public void setQuote_count(String quote_count) {
                    this.quote_count = quote_count;
                }

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }

                public String getNum() {
                    return num;
                }

                public void setNum(String num) {
                    this.num = num;
                }

                public String getPrice() {
                    return price;
                }

                public void setPrice(String price) {
                    this.price = price;
                }

                public String getCity() {
                    return city;
                }

                public void setCity(String city) {
                    this.city = city;
                }

                public String getInvoice() {
                    return invoice;
                }

                public void setInvoice(String invoice) {
                    this.invoice = invoice;
                }

                public String getAnonymous() {
                    return anonymous;
                }

                public void setAnonymous(String anonymous) {
                    this.anonymous = anonymous;
                }

                public String getContent() {
                    return content;
                }

                public void setContent(String content) {
                    this.content = content;
                }

                public String getPic() {
                    return pic;
                }

                public void setPic(String pic) {
                    this.pic = pic;
                }

                public String getUid() {
                    return uid;
                }

                public void setUid(String uid) {
                    this.uid = uid;
                }

                public String getDate() {
                    return date;
                }

                public void setDate(String date) {
                    this.date = date;
                }

                public String getStatusX() {
                    return statusX;
                }

                public void setStatusX(String statusX) {
                    this.statusX = statusX;
                }
            }
        }
    }
}
